import request from '@/utils/request'

// 查询例题题目管理列表
export function listExampleSubjectManagerAudit(query) {
  return request({
    url: '/receipt/exampleSubjectManagerAudit/list',
    method: 'get',
    params: query
  })
}

// 查询例题题目管理详细
export function getExampleSubjectManagerAudit(id) {
  return request({
    url: '/receipt/exampleSubjectManagerAudit/' + id,
    method: 'get'
  })
}

// 新增例题题目管理
export function addExampleSubjectManagerAudit(data) {
  return request({
    url: '/receipt/exampleSubjectManagerAudit',
    method: 'post',
    data: data
  })
}

// 修改例题题目管理
export function updateExampleSubjectManagerAudit(data) {
  return request({
    url: '/receipt/exampleSubjectManagerAudit',
    method: 'put',
    data: data
  })
}

// 删除例题题目管理
export function delExampleSubjectManagerAudit(id) {
  return request({
    url: '/receipt/exampleSubjectManagerAudit/' + id,
    method: 'delete'
  })
}

// 导出例题题目管理
export function exportExampleSubjectManagerAudit(query) {
  return request({
    url: '/receipt/exampleSubjectManagerAudit/export',
    method: 'get',
    params: query
  })
}
//审核成功
export function ManageAuditConsent(data) {
  return request({
    url: '/receipt/exampleSubjectManagerAudit/ManageauditConsent/',
    method: 'put',
	data: data
  })
}

//审核驳回
export function ManageAuditReject(data) {
  return request({
    url: '/receipt/exampleSubjectManagerAudit/ManageauditReject/',
    method: 'put',
	data: data
  })
}
